module.exports = {
  outputDir: 'dist',
  publicPath: '/',
  assetsDir: 'static',
  lintOnSave: process.env.NODE_ENV === 'production',

  productionSourceMap: false,
  devServer: {
    port: 9528,
    open: true,
    overlay: {
      warnings: false,
      errors: true
    },
    proxy: {
      '/': {
        target: 'http://172.16.77.1:8080',
         // target: 'http://127.0.0.1:8080',
        changeOrigin: true
        // ,
        // pathRewrite: {
        //   '^/dev-api': ''
        // }
      }
    }
    // before: require('./mock/mock-server.js')
  }
};
